// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import MuseUI from 'muse-ui';
import 'muse-ui/dist/muse-ui.css';
import ElementUI  from 'element-ui';
import {Message} from 'element-ui';
//import 'element-ui/lib/theme-chalk/index.css';
import './theme/index.css'
import axios from 'axios'
Vue.prototype.$axios = axios    //全局注册，使用方法为:this.$axios
Vue.config.silent = true
// axios.defaults.headers['Content-Type'] = 'application/json;charset=UTF-8'
import qs from 'qs'
Vue.prototype.$qs = qs
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(MuseUI);
Vue.prototype.$message = Message
import Msg from './components/msg.js'
Vue.prototype.$Msg = Msg

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
   render: h => h(App)
})
